package com.neocean.archive.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.model.BaseModel;

import java.util.Date;
import java.util.List;

/**
 * Description: com.neocean.archive.model
 * User: hushibo
 * Date: 2021-11-16 14:51
 * Time: 14:51
 * Version: 1.0
 */

public class HonorModel extends BaseModel {

    private static final long serialVersionUID = 2636399699650759856L;
    /** 荣誉id */
    private Long honorId;

    /** 名称 */
    @Excel(name = "名称")
    private String honorName;

    /** 简称 */
    @Excel(name = "简称")
    private String alternativeName;

    /** 编码 */
    @Excel(name = "编码")
    private String honorCode;

    /** 查询码 */
    @Excel(name = "查询码")
    private String lookup;

    /** 种类 */
    @Excel(name = "种类")
    private Long category;

    /** 级别 */
    @Excel(name = "级别")
    private Long level;

    /** 类型 */
    @Excel(name = "类型")
    private String label;

    /** 获奖者 */
    @Excel(name = "获奖者")
    private String winner;

    /** 获奖部门 */
    @Excel(name = "获奖部门")
    private String department;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardedAt;

    /** 颁奖单位 */
    @Excel(name = "颁奖单位")
    private String awardedBy;

    /** 荣誉描述 */
    @Excel(name = "荣誉描述")
    private String description;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private Long coverId;

    /** 荣誉标签 */
    @Excel(name = "荣誉标签")
    private String tags;

    /** 荣誉附件 */
    @Excel(name = "荣誉附件")
    private String attachments;

    /** 荣誉图片 */
    @Excel(name = "荣誉图片")
    private String pictures;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private Integer deleted;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long displayOrder;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updatedBy;

    private List<HonorPictureModel> pictureList;

    public List<HonorPictureModel> getPictureList() {
        return pictureList;
    }

    public void setPictureList(List<HonorPictureModel> pictures) {
        this.pictureList = pictures;
    }



    public Long getHonorId() {
        return honorId;
    }

    public void setHonorId(Long honorId) {
        this.honorId = honorId;
    }

    public String getHonorName() {
        return honorName;
    }

    public void setHonorName(String honorName) {
        this.honorName = honorName;
    }

    public String getAlternativeName() {
        return alternativeName;
    }

    public void setAlternativeName(String alternativeName) {
        this.alternativeName = alternativeName;
    }

    public String getHonorCode() {
        return honorCode;
    }

    public void setHonorCode(String honorCode) {
        this.honorCode = honorCode;
    }

    public String getLookup() {
        return lookup;
    }

    public void setLookup(String lookup) {
        this.lookup = lookup;
    }

    public Long getCategory() {
        return category;
    }

    public void setCategory(Long category) {
        this.category = category;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getWinner() {
        return winner;
    }

    public void setWinner(String winner) {
        this.winner = winner;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Date getAwardedAt() {
        return awardedAt;
    }

    public void setAwardedAt(Date awardedAt) {
        this.awardedAt = awardedAt;
    }

    public String getAwardedBy() {
        return awardedBy;
    }

    public void setAwardedBy(String awardedBy) {
        this.awardedBy = awardedBy;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCoverId() {
        return coverId;
    }

    public void setCoverId(Long coverId) {
        this.coverId = coverId;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getAttachments() {
        return attachments;
    }

    public void setAttachments(String attachments) {
        this.attachments = attachments;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(Long displayOrder) {
        this.displayOrder = displayOrder;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;


    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }


    public HonorModel() {
    }

    @Override
    public String toString() {
        return "HonorModel{" +
                "honorId=" + honorId +
                ", honorName='" + honorName + '\'' +
                ", alternativeName='" + alternativeName + '\'' +
                ", honorCode='" + honorCode + '\'' +
                ", lookup='" + lookup + '\'' +
                ", category=" + category +
                ", level=" + level +
                ", label='" + label + '\'' +
                ", winner='" + winner + '\'' +
                ", department='" + department + '\'' +
                ", awardedAt=" + awardedAt +
                ", awardedBy='" + awardedBy + '\'' +
                ", description='" + description + '\'' +
                ", coverId=" + coverId +
                ", tags='" + tags + '\'' +
                ", attachments='" + attachments + '\'' +
                ", status=" + status +
                ", deleted=" + deleted +
                ", displayOrder=" + displayOrder +
                ", createdBy='" + createdBy + '\'' +
                ", createdAt=" + createdAt +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedAt=" + updatedAt +
                '}';
    }
}
